//
// Created by yan on 7/5/17.
//

#ifndef DAQSYS_BDAQMOD_H
#define DAQSYS_BDAQMOD_H

#include <sys/bSysNode.h>
#include <unistd.h>

class bDaqMod : public bSysNode{
public:

    bDaqMod();

    bDaqMod(std::string name) : bSysNode(name) {}

    virtual ssize_t recvData(void* buf,size_t count) = 0;

    virtual ssize_t sendData(void* buf,size_t count) = 0;

    virtual int setMode(void * mode);

    virtual void * getIstance(){ return this;}


};


#endif //DAQSYS_BDAQMOD_H
